/********************************************************************************
 * Copyright (c) 2019 Contributors to the Eclipse Foundation
 *
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0
 *
 * SPDX-License-Identifier: EPL-2.0 4
 ********************************************************************************/

.ui-terminal {
  background: #fff;
  width: 90%;
  height: 250px;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid #acacac;
  border-radius: 6px;
  box-shadow: 0px 0px 20px #acacac;
}

.ui-terminal-titlebar {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #ebebeb, color-stop(1.0, #d5d5d5)));
  background: -webkit-linear-gradient(top, #ebebeb, #d5d5d5);
  background: -moz-linear-gradient(top, #ebebeb, #d5d5d5);
  background: -ms-linear-gradient(top, #ebebeb, #d5d5d5);
  background: -o-linear-gradient(top, #ebebeb, #d5d5d5);
  background: linear-gradient(top, #ebebeb, #d5d5d5);
  color: #4d494d;
  font-size: 11pt;
  line-height: 20px;
  text-align: center;
  width: 100%;
  height: 20px;
  border-top: 1px solid #f3f1f3;
  border-bottom: 1px solid #b1aeb1;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  cursor: default;
}

.ui-terminal-buttons {
  padding-left: 8px;
  padding-top: 3px;
  float: left;
  line-height: 0px;
}

.ui-terminal-buttons:hover button {
  visibility: visible;
}

.ui-terminal-minimize {
  background: #ffbd4c;
  font-size: 9pt;
  line-height: 11px;
  margin-left: 4px;
  width: 11px;
  height: 11px;
  border: 1px solid #e09e3e;
  border-radius: 50%;
  display: inline-block;
}

.ui-terminal-minimize:active {
  background: #c08e38;
  border: 1px solid #af7c33;
}

.ui-terminal-minimize:active .ui-terminal-minimizebutton {
  color: #5a2607;
}

.ui-terminal-minimizebutton {
  color: #9a5518;
  visibility: hidden;
  cursor: default;
}

.ui-terminal-maximize {
  background: #00ca56;
  font-size: 9pt;
  line-height: 11px;
  margin-left: 6px;
  width: 11px;
  height: 11px;
  border: 1px solid #14ae46;
  border-radius: 50%;
  display: inline-block;
}

.ui-terminal-maximize:active {
  background: #029740;
  border: 1px solid #128435;
}

.ui-terminal-maximize:active .ui-terminal-maximizebutton {
  color: #003107;
}

.ui-terminal-maximizebutton {
  color: #006519;
  visibility: hidden;
  cursor: default;
}

.ui-terminal-content {
  height: 229px;
  textarea {
    display: block;
    margin-left: auto;
    margin-right: auto;
    resize: none;
    width: 100%;
    height: 100%;
    box-sizing: border-box;         /* For IE and modern versions of Chrome */
    -moz-box-sizing: border-box;    /* For Firefox                          */
    -webkit-box-sizing: border-box;
    color: black;
    padding: 0.5em;
    white-space: pre-wrap;
    font-size: 11px;
    font-family: monospace;
  }
}


